package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.dto.system.LoginDto;
import com.atguigu.spzx.model.dto.system.SysUserDto;
import com.atguigu.spzx.model.dto.system.SysUserRoleDto;
import com.atguigu.spzx.model.entity.system.SysUser;
import com.atguigu.spzx.model.vo.common.LoginVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author MikeCoder
 * @create 2023-12-0116:53
 * @description:
 * @verson:
 */
public interface SysUserService {
    LoginVo login(LoginDto loginDto);

    SysUser getUserInfo(String token);

    void logout(String token);

    PageInfo<SysUser> getSysUserList(Integer current, Integer limit, SysUserDto sysUserDto);

    void addSysUser(SysUser sysUser);

    void changeSysUser(SysUser sysUser);

    void remove(Integer id);

    void doAssign(SysUserRoleDto sysUserRoleDto);
}
